﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="SelectTime.aspx.cs" Inherits="UI.SelectTime" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <link rel="stylesheet" href="Style/main.css">

    <div class="content">
        <div class="template">
            <div class="title">
                <asp:Label ID="Label1" runat="server" Text="Label" class="first_title">title</asp:Label>
                <asp:Label ID="Label2" runat="server" Text=" " class="second_title"> </asp:Label>
                <asp:Label ID="Label3" runat="server" Text="Label" class="more">back</asp:Label>

            </div>
            <div class="message">
                <div class="detail">
                    <div class="left">
                        <div class="left_content">
                            <asp:Image ID="Image" runat="server" src="Images/test.png" alt="图没了" CssClass="movie_img" />

                            <div class="left_bottom">
                                <asp:Label ID="Label4" runat="server" Text="Label" CssClass="CN_name2">哥斯拉2：怪兽之王</asp:Label>
                                <br>
                                <asp:Label ID="Label5" runat="server" Text="Label" CssClass="EN_name2">Godzilla: King of the Monsters</asp:Label>
                                <br>
                            </div>
                        </div>
                    </div>
                    <div class="right2">
                        <div class="date">
                            <ul class="nav nav-pills ul_date">
                                <li class="li_date "><a href="#">日期：</a></li>
                                <li class="li_time "><a href="#">时间</a></li>
                                <li class="li_time "><a href="#">时间</a></li>
                                <li class="li_time "><a href="#">时间</a></li>
                                <li class="li_time "><a href="#">时间</a></li>
                                <li class="li_time "><a href="#">时间</a></li>
                            </ul>
                        </div>
                        <asp:ListView ID="ListView1" runat="server" DataSourceID="SqlDataSource1" DataKeyNames="HallId">

                            <EmptyDataTemplate>
                                <span>未返回数据。</span>
                            </EmptyDataTemplate>

                            <ItemTemplate>
                                <div class="maipiao">
                                    <div class="MP_left">
                                        <asp:Label ID="Label7" runat="server" Text='<%# Eval("ScheduleBeginTime") %>' CssClass="cineml"></asp:Label>
                                        <br />
                                        <asp:Label ID="Label8" runat="server" Text='<%# Eval("HallId") %>' CssClass="address"></asp:Label>
                                        <asp:Label ID="Label9" runat="server" Text='<%# Eval("HallDescription") %>' CssClass="address"></asp:Label>

                                    </div>
                                    <div class="MP_right">
                                        <asp:Label ID="Label6" runat="server" CssClass="money" Text='<%# Eval("SchedulePrice") %>' />
                                        <asp:Label runat="server" CssClass="money" Text="元" />
                                        <br />
                                        <asp:LinkButton runat="server" CssClass="site" Text="选座购票" OnClick="Unnamed_Click"
                                            PostBackUrl='<%# string.Format("~/SelectSeat?ScheduleId={0}&MovieId={1}&Time={2}&row=8&column=12&address=滨江国际影城", Eval("ScheduleId"), Eval("MovieId"),Eval("ScheduleBeginTime")) %>' />
                                    </div>
                                </div>
                            </ItemTemplate>
                            <LayoutTemplate>
                                <div id="itemPlaceholderContainer" runat="server" style="">
                                    <span runat="server" id="itemPlaceholder" />
                                </div>
                                <div style="">
                                </div>
                            </LayoutTemplate>


                        </asp:ListView>
                        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SouthWindConnectionString %>" SelectCommand="SELECT [SchedulePrice], [ScheduleBeginTime], [HallDescription], [HallId], [MovieId], [ScheduleId] FROM [ScheduleInfo]"></asp:SqlDataSource>

                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
